package com.easy.entity;

/**
 * @ClassName Room
 * @Description TODO
 * @Author 周轩霆
 * @Date 2022/5/28 16:15
 **/

public class Room {
    private Integer id;
    private String code;
    private Integer state;

    public Room() {
    }

    public Room(Integer id, String code, Integer state) {
        this.id = id;
        this.code = code;
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Room{" +
                "id=" + id +
                ", code='" + code + '\'' +
                ", state=" + state +
                '}';
    }
}
